import { Component } from "solid-js";
import "./icon.css";
export const IconWrapper: Component<{ name: string; onclick?: () => void }> = (
    props
) => (
    <div data-icon onclick={props.onclick}>
        <i class={`codicon codicon-${props.name}`} aria-hidden="true"></i>
    </div>
);
/* 
    icon https://microsoft.github.io/vscode-codicons/dist/codicon.html
*/
